package com.yimi.yinhepda.entity.response;

/**
 * @author 000432
 * @date 2017/4/6
 * 登录后获取用户信息
 */
public class GetUserInfo {
  //    "userId":6250210402438492160,"userName":"第一个","userSex":1,
  //            "userCode":"000001sanmao","password":"670b14728ad9902aecba32e22fa4f6bd",
  //            "userType":1,"workNum":"000001","job":"111","phoneNum":"111",
  //            "siteCode":"351V","siteName":"迎泽物流营业部","isEffective":1,
  //            "address":"111","isCommision":1,"openBank":"1","openAccountName":"第三个",
  //            "openAccountNum":"1111","creater":"000000@yimidida",
  //            "createrTime":"2017-03-22T07:04:43Z","isDelete":0,
  //            "lastTime":"2017-03-23T06:41:16Z","recordVersion":0,"compCode":"yimidida"
  private Long userId;
  /** 姓名 */
  private String userName;
  /** 性别，1：男，2：女 */
  private Integer userSex;
  /** 用户编码 */
  private String userCode;
  /** 密码 */
  private String password;
  /** 用户类型，1：内部用户，2:外部用户 */
  private Integer userType;
  /** 工号 */
  private String workNum;
  /** 职位 */
  private String job;
  /** 联系方式 */
  private String phoneNum;
  /** 网点编码 */
  private String siteCode;
  /** 网点名称 */
  private String siteName;
  /** 有效或者无效（1：有效，2：无效） */
  private Integer isEffective;
  /** 地址 */
  private String address;
  /** 是否提计(1:是，2：否)，默认为1 */
  private Integer isCommision;
  /** 开户银行 */
  private String openBank;
  /** 开户名 */
  private String openAccountName;
  /** 开户账号 */
  private String openAccountNum;
  private String creater;
  private String createrTime;
  private Integer isDelete;
  private String lastTime;
  private Integer recordVersion;
  /** 公司编码 */
  private String compCode;

  public Long getUserId() {
    if (userId == null) {
      userId = 0L;
    }
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public Integer getUserSex() {
    if (userSex == null) {
      userSex = 0;
    }
    return userSex;
  }

  public void setUserSex(Integer userSex) {
    this.userSex = userSex;
  }

  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public Integer getUserType() {
    if (userType == null) {
      userType = 0;
    }
    return userType;
  }

  public void setUserType(Integer userType) {
    this.userType = userType;
  }

  public String getWorkNum() {
    return workNum;
  }

  public void setWorkNum(String workNum) {
    this.workNum = workNum;
  }

  public String getJob() {
    return job;
  }

  public void setJob(String job) {
    this.job = job;
  }

  public String getPhoneNum() {
    return phoneNum;
  }

  public void setPhoneNum(String phoneNum) {
    this.phoneNum = phoneNum;
  }

  public String getSiteCode() {
    return siteCode;
  }

  public void setSiteCode(String siteCode) {
    this.siteCode = siteCode;
  }

  public String getSiteName() {
    return siteName;
  }

  public void setSiteName(String siteName) {
    this.siteName = siteName;
  }

  public Integer getIsEffective() {
    if (isEffective == null) {
      isEffective = 0;
    }
    return isEffective;
  }

  public void setIsEffective(Integer isEffective) {
    this.isEffective = isEffective;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public Integer getIsCommision() {
    if (isCommision == null) {
      isCommision = 0;
    }
    return isCommision;
  }

  public void setIsCommision(Integer isCommision) {
    this.isCommision = isCommision;
  }

  public String getOpenBank() {
    return openBank;
  }

  public void setOpenBank(String openBank) {
    this.openBank = openBank;
  }

  public String getOpenAccountName() {
    return openAccountName;
  }

  public void setOpenAccountName(String openAccountName) {
    this.openAccountName = openAccountName;
  }

  public String getOpenAccountNum() {
    return openAccountNum;
  }

  public void setOpenAccountNum(String openAccountNum) {
    this.openAccountNum = openAccountNum;
  }

  public String getCreater() {
    return creater;
  }

  public void setCreater(String creater) {
    this.creater = creater;
  }

  public String getCreaterTime() {
    return createrTime;
  }

  public void setCreaterTime(String createrTime) {
    this.createrTime = createrTime;
  }

  public Integer getIsDelete() {
    if (isDelete == null) {
      isDelete = 0;
    }
    return isDelete;
  }

  public void setIsDelete(Integer isDelete) {
    this.isDelete = isDelete;
  }

  public String getLastTime() {
    return lastTime;
  }

  public void setLastTime(String lastTime) {
    this.lastTime = lastTime;
  }

  public Integer getRecordVersion() {
    if (recordVersion == null) {
      recordVersion = 0;
    }
    return recordVersion;
  }

  public void setRecordVersion(Integer recordVersion) {
    this.recordVersion = recordVersion;
  }

  public String getCompCode() {
    return compCode;
  }

  public void setCompCode(String compCode) {
    this.compCode = compCode;
  }
}
